package whr.modules.interview.service;

import com.baomidou.mybatisplus.extension.service.IService;
import whr.common.utils.PageUtils;
import whr.modules.interview.entity.InterviewRecordsEntity;
import whr.modules.interview.entity.dto.CheckResultDto;
import whr.modules.interview.entity.dto.InterviewResultDto;
import whr.modules.interview.entity.vo.TurnoverReportVo;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author youkun
 * @email youkun@gmail.com
 * @date 2024-09-25 10:46:31
 */
public interface InterviewRecordsService extends IService<InterviewRecordsEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /*
    * 录入面试结果
    * */
    void addInterviewResult(InterviewResultDto interviewResultDto);

    /*
    * 录取审核
    * */
    void checkResult(CheckResultDto checkResultDto);

    /*
    * 获取历史面试记录
    * */
    InterviewRecordsEntity getHistory(Map<String, Object> params);

    /*
    * 获取面试者面试评分分布
    * */
    List<Integer> getScoreCount();

    /*
    * 获取近七天的新增面试
    * */
    TurnoverReportVo getTurnover();


    Object getWaitingCount();

}

